package com.company.cloud.page.modules.mgr.controller.req;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.company.cloud.common.bean.BaseParam;
import com.company.cloud.common.constant.BaseConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class PageStaticAdd2EditParam extends BaseParam {


    @ApiModelProperty(value = "页面编号")
    private String pageNo;


    @ApiModelProperty(value = "页面分类",required = true)
    @NotEmpty(message = "页面分类不能为空")
    private String type;


    @ApiModelProperty(value = "页面标题",required = true)
    @NotEmpty(message = "页面标题不能为空")
    private String name;


    @ApiModelProperty(value = "页面内容")
    private String content;


    @ApiModelProperty(value = "页面外链")
    private String linkUrl;


    @ApiModelProperty(value = "分享样式")
    private String shareStyle;


    @ApiModelProperty(value = "分享标题")
    private String shareTitle;


    @ApiModelProperty(value = "分享描述")
    private String shareMemo;


    @ApiModelProperty(value = "分享图片")
    private String shareImg;


    @ApiModelProperty(value = "SEO关键字")
    private String metaKeywords;


    @ApiModelProperty(value = "SEO描述信息")
    private String metaDescription;


    @ApiModelProperty(value = "显示顺序" ,required = true)
    @NotNull(message = "显示顺序不能为空")
    private Integer orders=0;


    @ApiModelProperty(value = "状态(YN)")
    private String state;

    @ApiModelProperty(value = "上级页面编号")
    private String parentPageNo;

}
